package com.geese.module.business.dao;

import com.geese.common.entity.ChannelDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by huweiwei on 2017/3/28.
 */
public interface ChannelMapper {

    List<ChannelDO> selectListByUserIds(@Param("ids") List<Integer> ids);

    void insert(ChannelDO channelDO);

    ChannelDO selectByUserId(@Param("id") Integer id);

    void update(ChannelDO channelDO);

    void removeByUserId(@Param("id") Integer id);

    void removeByUserIds(@Param("ids") List<Integer> ids);

}
